var a = 10;
function fn () {
  var b = 20;
  function bar () {
    console.log(a + b);
  }
  return bar;
}
var x = fn()
// console.log(x)
var b = 200
x()